package com.bite.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bite.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName("tb_sys_user")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysUser extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)//雪花算法生成id
    private Long userId;//主键 不适用auto_increment 使用雪花算法
    private String userAccount;
    private String password;

    private String nickName;






}
